

cc.Class({
    extends: cc.Component,

    properties: {
      
    },


    onLoad () {
        this.node.zIndex = 2
    },


    die(){
        var anim = this.getComponent(cc.Animation)
        anim.play('spark')
        anim.over = function(){
            game.delPrefab(this.node, 0)
        }.bind(this)
    },

    // update (dt) {},

    
});
